import {add} from "./index"
import "@babel/polyfill"
import "./ccc.css"
import "./index.less"
import pic from "./girl.jpg"
const arr = [new Promise(()=>{})]
arr.forEach((item,i)=>{
    console.log(item)
})
// const img = new Image();
// img.src = pic;
// img.width = 300;
//
// document.body.appendChild(img)

const btn= document.createElement("button");
btn.innerHTML='添加'
document.body.appendChild(btn)

btn.onclick = function(){
    const div = document.createElement("div");
    div.innerHTML = 'item'
    document.body.appendChild(div)
    console.log(module.hot.accept)
}